home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: Utrecht.NL.net!news
- From: E.H.Terwiel@inter.NL.net (E.H. Terwiel (Erik))
- Subject: Re: Procedure for CRC-16 Value for a given tex
- X-Nntp-Posting-Host: utr98-17.utrecht.nl.net
- Message-ID: <DLI11A.Hun@inter.NL.net>
- Sender: news@inter.NL.net (News at newsutr)
- Organization: NLnet
- X-Newsreader: Forte Free Agent 1.0.82
- References: <30f486cf.64849689@news.alt.net> <4dmjgf$bk4@zeppo.mrad.com.au>
- Date: Sat, 20 Jan 1996 21:26:34 GMT
-
- ray@mrad.com.au (Ray Welchman) wrote:
-
-
- >>To anyone with some knowledge of C - programming language. I need a
- >>procedure that will compute a CRC-16 value for a given text string.
- >>This should receive a text string as input and produce a two byte CRC
- >>value as output. The output has to be two data bytes. The carriage
- >>return byte is not to be included in the CRC computations. This should
- >>be able to read text strings from the terminal, call the procedure,
- >>and then print the string and the appropriate CRC value. The output
- >>will be the text string that was input and the corresponding CRC
- >>value. Then, the CRC value should be converted into a 4 digit Hex
- >>value. Any suggestions ???
-
- Try Campbell's book on serial communications: it a bible on the
- subject and has everything on CRC's.
-
- Or maybe SIMTEL or CICA has some.
-
- Erik
-
-